home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000186_news@columbia.edu _Wed Oct 13 05:55:58 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA12766
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 13 Oct 1999 05:55:39 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id FAA07395
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 13 Oct 1999 05:26:50 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: "Chris H. de Dijker" <webmaster@copex.nl>
  10. Subject: Problems with Exit from dail script to take script
  11. Date: Wed, 13 Oct 1999 11:20:31 +0100
  12. Organization: Luna Internet
  13. Message-ID: <939806492.394521@perla.rotterdam.luna.net>
  14. To: kermit.misc@columbia.edu
  15.  
  16. I use the following simple (mskermit 3.15)-script for testing:
  17.  
  18. ;download.scr
  19. set modem bestdata
  20. dial test
  21. if failure goto notconnect
  22. echo Connection successful
  23. ; rest of the script
  24. hangup
  25. exit
  26.  
  27. :notconnect
  28. echo Connection failed
  29. set errorlevel 2
  30. hangup
  31. exit
  32.  
  33. Now I start the script with the command: kermit take download.scr
  34. Because I want to test the not connect status, I simulate a NO DIALTONE by
  35. removing the line from the modem.
  36. The bestdata.scr goes to the :FAIL Label and returns the END 1 command.
  37. The program goes back to download.scr. and allways displays that the
  38. connection was successful.
  39.  
  40. What's wrong ????
  41.  
  42. Please help me,
  43.  
  44. Regards,
  45. Chris de Dijker
  46. Email: chris.dedijker-AT-copex.nl
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.